/*
   Copyright (c) 2013, 2021, Oracle and/or its affiliates.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License, version 2.0,
   as published by the Free Software Foundation.

   This program is also distributed with certain software (including
   but not limited to OpenSSL) that is licensed under separate terms,
   as designated in a particular file or component or in included license
   documentation.  The authors of MySQL hereby grant you an additional
   permission to link the program and your derivative works with the
   separately licensed software that they have included with MySQL.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License, version 2.0, for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
*/

/* Automatically generated from sql/share/errmsg-utf8.txt 
   by setup/generate-SQLState_js.awk
   Do not edit by hand. 
*/ 

module.exports = {
	                                 "ER_DUP_KEY" : 1022,
	                                         1022 : "23000",
	                             "ER_OUTOFMEMORY" : 1037,
	                                         1037 : "HY001",
	                       "ER_OUT_OF_SORTMEMORY" : 1038,
	                                         1038 : "HY001",
	                         "ER_CON_COUNT_ERROR" : 1040,
	                                         1040 : "08004",
	                          "ER_BAD_HOST_ERROR" : 1042,
	                                         1042 : "08S01",
	                         "ER_HANDSHAKE_ERROR" : 1043,
	                                         1043 : "08S01",
	                   "ER_DBACCESS_DENIED_ERROR" : 1044,
	                                         1044 : "42000",
	                     "ER_ACCESS_DENIED_ERROR" : 1045,
	                                         1045 : "28000",
	                             "ER_NO_DB_ERROR" : 1046,
	                                         1046 : "3D000",
	                       "ER_UNKNOWN_COM_ERROR" : 1047,
	                                         1047 : "08S01",
	                          "ER_BAD_NULL_ERROR" : 1048,
	                                         1048 : "23000",
	                            "ER_BAD_DB_ERROR" : 1049,
	                                         1049 : "42000",
	                      "ER_TABLE_EXISTS_ERROR" : 1050,
	                                         1050 : "42S01",
	                         "ER_BAD_TABLE_ERROR" : 1051,
	                                         1051 : "42S02",
	                          "ER_NON_UNIQ_ERROR" : 1052,
	                                         1052 : "23000",
	                         "ER_SERVER_SHUTDOWN" : 1053,
	                                         1053 : "08S01",
	                         "ER_BAD_FIELD_ERROR" : 1054,
	                                         1054 : "42S22",
	                  "ER_WRONG_FIELD_WITH_GROUP" : 1055,
	                                         1055 : "42000",
	                       "ER_WRONG_GROUP_FIELD" : 1056,
	                                         1056 : "42000",
	                        "ER_WRONG_SUM_SELECT" : 1057,
	                                         1057 : "42000",
	                       "ER_WRONG_VALUE_COUNT" : 1058,
	                                         1058 : "21S01",
	                          "ER_TOO_LONG_IDENT" : 1059,
	                                         1059 : "42000",
	                           "ER_DUP_FIELDNAME" : 1060,
	                                         1060 : "42S21",
	                             "ER_DUP_KEYNAME" : 1061,
	                                         1061 : "42000",
	                               "ER_DUP_ENTRY" : 1062,
	                                         1062 : "23000",
	                        "ER_WRONG_FIELD_SPEC" : 1063,
	                                         1063 : "42000",
	                             "ER_PARSE_ERROR" : 1064,
	                                         1064 : "42000",
	                             "ER_EMPTY_QUERY" : 1065,
	                                         1065 : "42000",
	                           "ER_NONUNIQ_TABLE" : 1066,
	                                         1066 : "42000",
	                         "ER_INVALID_DEFAULT" : 1067,
	                                         1067 : "42000",
	                        "ER_MULTIPLE_PRI_KEY" : 1068,
	                                         1068 : "42000",
	                           "ER_TOO_MANY_KEYS" : 1069,
	                                         1069 : "42000",
	                      "ER_TOO_MANY_KEY_PARTS" : 1070,
	                                         1070 : "42000",
	                            "ER_TOO_LONG_KEY" : 1071,
	                                         1071 : "42000",
	               "ER_KEY_COLUMN_DOES_NOT_EXITS" : 1072,
	                                         1072 : "42000",
	                        "ER_BLOB_USED_AS_KEY" : 1073,
	                                         1073 : "42000",
	                     "ER_TOO_BIG_FIELDLENGTH" : 1074,
	                                         1074 : "42000",
	                          "ER_WRONG_AUTO_KEY" : 1075,
	                                         1075 : "42000",
	                           "ER_FORCING_CLOSE" : 1080,
	                                         1080 : "08S01",
	                            "ER_IPSOCK_ERROR" : 1081,
	                                         1081 : "08S01",
	                           "ER_NO_SUCH_INDEX" : 1082,
	                                         1082 : "42S12",
	                 "ER_WRONG_FIELD_TERMINATORS" : 1083,
	                                         1083 : "42000",
	                 "ER_BLOBS_AND_NO_TERMINATED" : 1084,
	                                         1084 : "42000",
	                  "ER_CANT_REMOVE_ALL_FIELDS" : 1090,
	                                         1090 : "42000",
	                  "ER_CANT_DROP_FIELD_OR_KEY" : 1091,
	                                         1091 : "42000",
	                  "ER_BLOB_CANT_HAVE_DEFAULT" : 1101,
	                                         1101 : "42000",
	                           "ER_WRONG_DB_NAME" : 1102,
	                                         1102 : "42000",
	                        "ER_WRONG_TABLE_NAME" : 1103,
	                                         1103 : "42000",
	                          "ER_TOO_BIG_SELECT" : 1104,
	                                         1104 : "42000",
	                       "ER_UNKNOWN_PROCEDURE" : 1106,
	                                         1106 : "42000",
	           "ER_WRONG_PARAMCOUNT_TO_PROCEDURE" : 1107,
	                                         1107 : "42000",
	                           "ER_UNKNOWN_TABLE" : 1109,
	                                         1109 : "42S02",
	                   "ER_FIELD_SPECIFIED_TWICE" : 1110,
	                                         1110 : "42000",
	                   "ER_UNSUPPORTED_EXTENSION" : 1112,
	                                         1112 : "42000",
	                 "ER_TABLE_MUST_HAVE_COLUMNS" : 1113,
	                                         1113 : "42000",
	                   "ER_UNKNOWN_CHARACTER_SET" : 1115,
	                                         1115 : "42000",
	                         "ER_TOO_BIG_ROWSIZE" : 1118,
	                                         1118 : "42000",
	                        "ER_WRONG_OUTER_JOIN" : 1120,
	                                         1120 : "42000",
	                    "ER_NULL_COLUMN_IN_INDEX" : 1121,
	                                         1121 : "42000",
	                 "ER_PASSWORD_ANONYMOUS_USER" : 1131,
	                                         1131 : "42000",
	                    "ER_PASSWORD_NOT_ALLOWED" : 1132,
	                                         1132 : "42000",
	                       "ER_PASSWORD_NO_MATCH" : 1133,
	                                         1133 : "42000",
	                "ER_WRONG_VALUE_COUNT_ON_ROW" : 1136,
	                                         1136 : "21S01",
	                     "ER_INVALID_USE_OF_NULL" : 1138,
	                                         1138 : "22004",
	                            "ER_REGEXP_ERROR" : 1139,
	                                         1139 : "42000",
	            "ER_MIX_OF_GROUP_FUNC_AND_FIELDS" : 1140,
	                                         1140 : "42000",
	                       "ER_NONEXISTING_GRANT" : 1141,
	                                         1141 : "42000",
	                "ER_TABLEACCESS_DENIED_ERROR" : 1142,
	                                         1142 : "42000",
	               "ER_COLUMNACCESS_DENIED_ERROR" : 1143,
	                                         1143 : "42000",
	                 "ER_ILLEGAL_GRANT_FOR_TABLE" : 1144,
	                                         1144 : "42000",
	                "ER_GRANT_WRONG_HOST_OR_USER" : 1145,
	                                         1145 : "42000",
	                           "ER_NO_SUCH_TABLE" : 1146,
	                                         1146 : "42S02",
	                 "ER_NONEXISTING_TABLE_GRANT" : 1147,
	                                         1147 : "42000",
	                     "ER_NOT_ALLOWED_COMMAND" : 1148,
	                                         1148 : "42000",
	                            "ER_SYNTAX_ERROR" : 1149,
	                                         1149 : "42000",
	                     "ER_ABORTING_CONNECTION" : 1152,
	                                         1152 : "08S01",
	                    "ER_NET_PACKET_TOO_LARGE" : 1153,
	                                         1153 : "08S01",
	                "ER_NET_READ_ERROR_FROM_PIPE" : 1154,
	                                         1154 : "08S01",
	                         "ER_NET_FCNTL_ERROR" : 1155,
	                                         1155 : "08S01",
	                "ER_NET_PACKETS_OUT_OF_ORDER" : 1156,
	                                         1156 : "08S01",
	                    "ER_NET_UNCOMPRESS_ERROR" : 1157,
	                                         1157 : "08S01",
	                          "ER_NET_READ_ERROR" : 1158,
	                                         1158 : "08S01",
	                    "ER_NET_READ_INTERRUPTED" : 1159,
	                                         1159 : "08S01",
	                      "ER_NET_ERROR_ON_WRITE" : 1160,
	                                         1160 : "08S01",
	                   "ER_NET_WRITE_INTERRUPTED" : 1161,
	                                         1161 : "08S01",
	                         "ER_TOO_LONG_STRING" : 1162,
	                                         1162 : "42000",
	                  "ER_TABLE_CANT_HANDLE_BLOB" : 1163,
	                                         1163 : "42000",
	        "ER_TABLE_CANT_HANDLE_AUTO_INCREMENT" : 1164,
	                                         1164 : "42000",
	                       "ER_WRONG_COLUMN_NAME" : 1166,
	                                         1166 : "42000",
	                        "ER_WRONG_KEY_COLUMN" : 1167,
	                                         1167 : "42000",
	                              "ER_DUP_UNIQUE" : 1169,
	                                         1169 : "23000",
	                 "ER_BLOB_KEY_WITHOUT_LENGTH" : 1170,
	                                         1170 : "42000",
	                  "ER_PRIMARY_CANT_HAVE_NULL" : 1171,
	                                         1171 : "42000",
	                           "ER_TOO_MANY_ROWS" : 1172,
	                                         1172 : "42000",
	                    "ER_REQUIRES_PRIMARY_KEY" : 1173,
	                                         1173 : "42000",
	                      "ER_KEY_DOES_NOT_EXITS" : 1176,
	                                         1176 : "42000",
	                     "ER_CHECK_NO_SUCH_TABLE" : 1177,
	                                         1177 : "42000",
	                   "ER_CHECK_NOT_IMPLEMENTED" : 1178,
	                                         1178 : "42000",
	      "ER_CANT_DO_THIS_DURING_AN_TRANSACTION" : 1179,
	                                         1179 : "25000",
	                 "ER_NEW_ABORTING_CONNECTION" : 1184,
	                                         1184 : "08S01",
	                         "ER_MASTER_NET_READ" : 1189,
	                                         1189 : "08S01",
	                        "ER_MASTER_NET_WRITE" : 1190,
	                                         1190 : "08S01",
	               "ER_TOO_MANY_USER_CONNECTIONS" : 1203,
	                                         1203 : "42000",
	                   "ER_READ_ONLY_TRANSACTION" : 1207,
	                                         1207 : "25000",
	            "ER_NO_PERMISSION_TO_CREATE_USER" : 1211,
	                                         1211 : "42000",
	                           "ER_LOCK_DEADLOCK" : 1213,
	                                         1213 : "40001",
	                       "ER_NO_REFERENCED_ROW" : 1216,
	                                         1216 : "23000",
	                       "ER_ROW_IS_REFERENCED" : 1217,
	                                         1217 : "23000",
	                       "ER_CONNECT_TO_MASTER" : 1218,
	                                         1218 : "08S01",
	       "ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT" : 1222,
	                                         1222 : "21000",
	                      "ER_USER_LIMIT_REACHED" : 1226,
	                                         1226 : "42000",
	            "ER_SPECIFIC_ACCESS_DENIED_ERROR" : 1227,
	                                         1227 : "42000",
	                              "ER_NO_DEFAULT" : 1230,
	                                         1230 : "42000",
	                     "ER_WRONG_VALUE_FOR_VAR" : 1231,
	                                         1231 : "42000",
	                      "ER_WRONG_TYPE_FOR_VAR" : 1232,
	                                         1232 : "42000",
	                    "ER_CANT_USE_OPTION_HERE" : 1234,
	                                         1234 : "42000",
	                       "ER_NOT_SUPPORTED_YET" : 1235,
	                                         1235 : "42000",
	                            "ER_WRONG_FK_DEF" : 1239,
	                                         1239 : "42000",
	                         "ER_OPERAND_COLUMNS" : 1241,
	                                         1241 : "21000",
	                       "ER_SUBQUERY_NO_1_ROW" : 1242,
	                                         1242 : "21000",
	                       "ER_ILLEGAL_REFERENCE" : 1247,
	                                         1247 : "42S22",
	                 "ER_DERIVED_MUST_HAVE_ALIAS" : 1248,
	                                         1248 : "42000",
	                          "ER_SELECT_REDUCED" : 1249,
	                                         1249 : "01000",
	              "ER_TABLENAME_NOT_ALLOWED_HERE" : 1250,
	                                         1250 : "42000",
	                 "ER_NOT_SUPPORTED_AUTH_MODE" : 1251,
	                                         1251 : "08004",
	                  "ER_SPATIAL_CANT_HAVE_NULL" : 1252,
	                                         1252 : "42000",
	              "ER_COLLATION_CHARSET_MISMATCH" : 1253,
	                                         1253 : "42000",
	                    "ER_WARN_TOO_FEW_RECORDS" : 1261,
	                                         1261 : "01000",
	                   "ER_WARN_TOO_MANY_RECORDS" : 1262,
	                                         1262 : "01000",
	                    "ER_WARN_NULL_TO_NOTNULL" : 1263,
	                                         1263 : "22004",
	                  "ER_WARN_DATA_OUT_OF_RANGE" : 1264,
	                                         1264 : "22003",
	                    "ER_WRONG_NAME_FOR_INDEX" : 1279,
	                                         1279 : "42000",
	                  "ER_WRONG_NAME_FOR_CATALOG" : 1280,
	                                         1280 : "42000",
	                  "ER_UNKNOWN_STORAGE_ENGINE" : 1285,
	                                         1285 : "42000",
	                   "ER_TRUNCATED_WRONG_VALUE" : 1291,
	                                         1291 : "22007",
	                  "ER_SP_NO_RECURSIVE_CREATE" : 1302,
	                                         1302 : "2F003",
	                       "ER_SP_ALREADY_EXISTS" : 1303,
	                                         1303 : "42000",
	                       "ER_SP_DOES_NOT_EXIST" : 1304,
	                                         1304 : "42000",
	                     "ER_SP_LILABEL_MISMATCH" : 1307,
	                                         1307 : "42000",
	                       "ER_SP_LABEL_REDEFINE" : 1308,
	                                         1308 : "42000",
	                       "ER_SP_LABEL_MISMATCH" : 1309,
	                                         1309 : "42000",
	                           "ER_SP_UNINIT_VAR" : 1310,
	                                         1310 : "01000",
	                            "ER_SP_BADSELECT" : 1311,
	                                         1311 : "0A000",
	                            "ER_SP_BADRETURN" : 1312,
	                                         1312 : "42000",
	                         "ER_SP_BADSTATEMENT" : 1313,
	                                         1313 : "0A000",
	           "ER_UPDATE_LOG_DEPRECATED_IGNORED" : 1314,
	                                         1314 : "42000",
	        "ER_UPDATE_LOG_DEPRECATED_TRANSLATED" : 1315,
	                                         1315 : "42000",
	                       "ER_QUERY_INTERRUPTED" : 1316,
	                                         1316 : "70100",
	                     "ER_SP_WRONG_NO_OF_ARGS" : 1317,
	                                         1317 : "42000",
	                        "ER_SP_COND_MISMATCH" : 1318,
	                                         1318 : "42000",
	                             "ER_SP_NORETURN" : 1319,
	                                         1319 : "42000",
	                          "ER_SP_NORETURNEND" : 1320,
	                                         1320 : "2F005",
	                     "ER_SP_BAD_CURSOR_QUERY" : 1321,
	                                         1321 : "42000",
	                    "ER_SP_BAD_CURSOR_SELECT" : 1322,
	                                         1322 : "42000",
	                      "ER_SP_CURSOR_MISMATCH" : 1323,
	                                         1323 : "42000",
	                  "ER_SP_CURSOR_ALREADY_OPEN" : 1324,
	                                         1324 : "24000",
	                      "ER_SP_CURSOR_NOT_OPEN" : 1325,
	                                         1325 : "24000",
	                       "ER_SP_UNDECLARED_VAR" : 1326,
	                                         1326 : "42000",
	                        "ER_SP_FETCH_NO_DATA" : 1328,
	                                         1328 : "02000",
	                            "ER_SP_DUP_PARAM" : 1329,
	                                         1329 : "42000",
	                              "ER_SP_DUP_VAR" : 1330,
	                                         1330 : "42000",
	                             "ER_SP_DUP_COND" : 1331,
	                                         1331 : "42000",
	                             "ER_SP_DUP_CURS" : 1332,
	                                         1332 : "42000",
	                        "ER_SP_SUBSELECT_NYI" : 1334,
	                                         1334 : "0A000",
	           "ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG" : 1335,
	                                         1335 : "0A000",
	              "ER_SP_VARCOND_AFTER_CURSHNDLR" : 1336,
	                                         1336 : "42000",
	                 "ER_SP_CURSOR_AFTER_HANDLER" : 1337,
	                                         1337 : "42000",
	                       "ER_SP_CASE_NOT_FOUND" : 1338,
	                                         1338 : "20000",
	                        "ER_DIVISION_BY_ZERO" : 1364,
	                                         1364 : "22012",
	                  "ER_ILLEGAL_VALUE_FOR_TYPE" : 1366,
	                                         1366 : "22007",
	                 "ER_PROCACCESS_DENIED_ERROR" : 1369,
	                                         1369 : "42000",
	                               "ER_XAER_NOTA" : 1396,
	                                         1396 : "XAE04",
	                              "ER_XAER_INVAL" : 1397,
	                                         1397 : "XAE05",
	                             "ER_XAER_RMFAIL" : 1398,
	                                         1398 : "XAE07",
	                            "ER_XAER_OUTSIDE" : 1399,
	                                         1399 : "XAE09",
	                              "ER_XAER_RMERR" : 1400,
	                                         1400 : "XAE03",
	                           "ER_XA_RBROLLBACK" : 1401,
	                                         1401 : "XA100",
	                  "ER_NONEXISTING_PROC_GRANT" : 1402,
	                                         1402 : "42000",
	                           "ER_DATA_TOO_LONG" : 1405,
	                                         1405 : "22001",
	                         "ER_SP_BAD_SQLSTATE" : 1406,
	                                         1406 : "42000",
	             "ER_CANT_CREATE_USER_WITH_GRANT" : 1409,
	                                         1409 : "42000",
	                          "ER_SP_DUP_HANDLER" : 1412,
	                                         1412 : "42000",
	                          "ER_SP_NOT_VAR_ARG" : 1413,
	                                         1413 : "42000",
	                            "ER_SP_NO_RETSET" : 1414,
	                                         1414 : "0A000",
	             "ER_CANT_CREATE_GEOMETRY_OBJECT" : 1415,
	                                         1415 : "22003",
	                           "ER_TOO_BIG_SCALE" : 1424,
	                                         1424 : "42000",
	                       "ER_TOO_BIG_PRECISION" : 1425,
	                                         1425 : "42000",
	                         "ER_M_BIGGER_THAN_D" : 1426,
	                                         1426 : "42000",
	                           "ER_TOO_LONG_BODY" : 1436,
	                                         1436 : "42000",
	                    "ER_TOO_BIG_DISPLAYWIDTH" : 1438,
	                                         1438 : "42000",
	                              "ER_XAER_DUPID" : 1439,
	                                         1439 : "XAE08",
	              "ER_DATETIME_FUNCTION_OVERFLOW" : 1440,
	                                         1440 : "22008",
	                     "ER_ROW_IS_REFERENCED_2" : 1450,
	                                         1450 : "23000",
	                     "ER_NO_REFERENCED_ROW_2" : 1451,
	                                         1451 : "23000",
	                       "ER_SP_BAD_VAR_SHADOW" : 1452,
	                                         1452 : "42000",
	                           "ER_SP_WRONG_NAME" : 1457,
	                                         1457 : "42000",
	                         "ER_SP_NO_AGGREGATE" : 1459,
	                                         1459 : "42000",
	         "ER_MAX_PREPARED_STMT_COUNT_REACHED" : 1460,
	                                         1460 : "42000",
	                 "ER_NON_GROUPING_FIELD_USED" : 1462,
	                                         1462 : "42000",
	        "ER_FOREIGN_DUPLICATE_KEY_OLD_UNUSED" : 1556,
	                                         1556 : "23000",
	          "ER_CANT_CHANGE_TX_CHARACTERISTICS" : 1567,
	                                         1567 : "25001",
	          "ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT" : 1581,
	                                         1581 : "42000",
	          "ER_WRONG_PARAMETERS_TO_NATIVE_FCT" : 1582,
	                                         1582 : "42000",
	          "ER_WRONG_PARAMETERS_TO_STORED_FCT" : 1583,
	                                         1583 : "42000",
	                 "ER_DUP_ENTRY_WITH_KEY_NAME" : 1585,
	                                         1585 : "23000",
	                            "ER_XA_RBTIMEOUT" : 1612,
	                                         1612 : "XA106",
	                           "ER_XA_RBDEADLOCK" : 1613,
	                                         1613 : "XA102",
	          "ER_FUNC_INEXISTENT_NAME_COLLISION" : 1625,
	                                         1625 : "42000",
	                          "ER_DUP_SIGNAL_SET" : 1635,
	                                         1635 : "42000",
	                             "ER_SIGNAL_WARN" : 1636,
	                                         1636 : "01000",
	                        "ER_SIGNAL_NOT_FOUND" : 1637,
	                                         1637 : "02000",
	                        "ER_SIGNAL_EXCEPTION" : 1638,
	                                         1638 : "HY000",
	         "ER_RESIGNAL_WITHOUT_ACTIVE_HANDLER" : 1639,
	                                         1639 : "0K000",
	              "ER_SPATIAL_MUST_HAVE_GEOM_COL" : 1680,
	                                         1680 : "42000",
	                       "ER_DATA_OUT_OF_RANGE" : 1683,
	                                         1683 : "22003",
	         "ER_ACCESS_DENIED_NO_PASSWORD_ERROR" : 1691,
	                                         1691 : "28000",
	                     "ER_TRUNCATE_ILLEGAL_FK" : 1694,
	                                         1694 : "42000",
	             "ER_DA_INVALID_CONDITION_NUMBER" : 1750,
	                                         1750 : "35000",
	   "ER_FOREIGN_DUPLICATE_KEY_WITH_CHILD_INFO" : 1753,
	                                         1753 : "23000",
	"ER_FOREIGN_DUPLICATE_KEY_WITHOUT_CHILD_INFO" : 1754,
	                                         1754 : "23000",
	   "ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION" : 1784,
	                                         1784 : "25006",
};
